compareFaces: compareFaces.o Landmark.o ../util/tinyxml2.o Face.o Gallery.o
	g++ -lopencv_core -lopencv_objdetect -lopencv_highgui compareFaces.o Landmark.o ../util/tinyxml2.o Face.o Gallery.o -o compareFaces
	
compareFaces.o: compareFaces.cpp
	g++ -I /usr/local/include/opencv -c compareFaces.cpp -o compareFaces.o
	
Face.o: Face.cpp
	g++ -I /usr/local/include/opencv -c Face.cpp -o Face.o
	
Gallery.o: Gallery.cpp
	g++ -I /usr/local/include/opencv -c Gallery.cpp -o Gallery.o
	
Landmark.o: Landmark.h Landmark.cpp
	g++ -Wall -c Landmark.cpp -o Landmark.o
	
../util/tinyxml2.o: ../util/tinyxml2.cpp
	g++ -Wall -c ../util/tinyxml2.cpp -o ../util/tinyxml2.o
	
clean:
	rm *.o compareFaces ../util/tinyxml2.o